<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">

		<title>My JSP 'add_plan.jsp' starting page</title>
		<link href="lzm/css/base.css" rel="stylesheet" type="text/css" />
		<link href="lzm/css/tab.css" rel="stylesheet" type="text/css" />
		<link href="lzm/css/save_plan.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css"
			href="css/dialog/jquery.ui.all.css" />
		<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="lzm/js/find_plan_basis.js"></script>
		<script type="text/javascript" src="lzm/js/save_plan.js"></script>
		<script type="text/javascript" src="/ag/My97DatePicker/WdatePicker.js"
			defer="defer"></script>
		<script type="text/javascript" src="js/jquery.validate.pack.js"></script>
		<script type="text/javascript"
			src="js/dialog/jquery.bgiframe-2.1.1.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.ui.core.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.ui.widget.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.ui.mouse.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.ui.button.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.ui.draggable.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.ui.position.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.ui.resizable.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.ui.dialog.js"></script>
		<script type="text/javascript" src="js/dialog/jquery.effects.core.js"></script>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <form id="planForm" name="planForm" action="lzm/SavePlan_savePlan.action" method="post" >
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="lzm/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="lzm/images/tab_05.gif">&nbsp;</td>
        <td width="281" background="lzm/images/tab_05.gif">&nbsp;</td>
        <td width="14"><img src="lzm/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="lzm/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#84b1d3">
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF"><span class="spgood">预案名称：</span>
															<input type="text" id="PName" name="plan.PName" style="width: 360px" /></td>
            </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF"><span class="spgood">预案类型：</span>
															<select name="plan.tbPlanType.ptId" id="planType">
															</select></td>
          </tr>
          <tr>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">预案等级：</span>
															<select name="plan.tbPlanGrade.pgId" id="planGrade">
															</select></td>
            <td bgcolor="#FFFFFF"><span class="spgood">事件类型：</span>
															<select name="plan.tbEventType.etId" id="eventType">
															</select></td>
          </tr>
          <tr>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">适用范围：</span>
															<select name="plan.tbPlanScope.psId" id="planScope">
															</select></td>
            <td bgcolor="#FFFFFF"><span class="spgood">适用区域：</span>
															<select name="plan.tbPlanRegion.prId" id="planRegion">
															</select></td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF"><div style="height:10px"></div>
															<span class="spgood">摘要：</span>															
															<div style="width: 100%">
															<div style="height:10px"></div>
																<textarea name="plan.PSummary" id="PSummary" style="width: 100%" rows="5"></textarea>
															</div></td>
            </tr>
          <tr>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">编制单位：</span>
															<input type="text" id="PUnit" name="plan.PUnit" style="width: 200px" /></td>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">承办人：</span>
															<input type="text" id="PContractor" name="plan.PContractor" style="width: 200px" /></td>
          </tr>
          <tr>
            <td height="38" bgcolor="#FFFFFF"><span class="spgood">编制时间：</span>
															<input type="text" id="PTime" name="plan.PTime" style="width: 200px" class="Wdate" size="18"
					onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})"/></td>
            <td height="38" bgcolor="#FFFFFF"><label>
																<span class="spgood">版本：</span>
																<input type="text" name="plan.PVersion" id="PVersion" style="width: 200px" />
																<br />
															</label></td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF"><span class="spgood">上传附件：</span>
			<button id="add_plan_annex" class="myBtn">
													添加附件
												</button>	
												<input type="hidden" name="plan.c" id="planb" />	
												<input type="hidden" name="plan.d" id="pland" />			
												<div id="paListDIV"></div>
			<!--
															<input type="file" name="fileField" id="fileField" />
															&nbsp;
															<input type="button" onclick="upload()" name="button4"
																id="button4" value="上传"
																style="width: 50px; height: 20px" />
															<span id="uploadSpan"
																style="display: none; color: #963; font-size: 16px; margin-left: 20px;"><img
																	src="../watch/lzm/images/loading3.gif">文件上传中，请稍后......</span>
															<span id="uploadSucc"
																style="display: none; color: #963; font-size: 16px; margin-left: 20px;">文件上传成功！</span>
															<span
																style="width: 100%; margin: 0 auto; text-align: center; display: none"
																id="keywordIng"> <img
																	src="../watch/lzm/images/loading00.gif" /> <span
																style="font-size: 16px; color: #633; margin-left: 0px">正在提取关键字</span>
															</span>-->
														</td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF">
            	<div style="height:10px"></div>
															<span class="spgood">关键字：</span>															
															<div style="width: 100%">
															<div style="height:10px"></div>
																<textarea name="plankeywords" id="tbPlanKeywords" style="width: 100%" rows="5"></textarea>
															</div>            
            </td>
          </tr>
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF" style="text-align:center">
            <input type="hidden" name="plan.tbPlanStatus.pstId" value="1000000001"/>
            <input type="submit" name="tt" value="添加预案" class="myBtn" />
            <input type="button" value="添加预案总动标准" id="addStanderd" />
          </tr>
		  <!--
          <tr>
            <td height="38" colspan="2" bgcolor="#FFFFFF" style="text-align:center;"><img alt="" class="regjpg" style="cursor: pointer;"
																src="lzm/images/finish.png" id="add_plan" /></td>
          </tr>
		  -->
        </table></td>
        <td width="9" background="lzm/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="lzm/images/tab_20.gif" width="15" height="29" /></td>
        <td background="lzm/images/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25%" height="29" nowrap="nowrap">&nbsp;</td>
            </tr>
        </table></td>
        <td width="14"><img src="lzm/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
<div id="dialog-form" title="添加预案附件" style="display: none">
			<!--<iframe frameborder="0" name="uploadFrame" height="300" width="100%"
				scrolling="auto" src="lzm/upload.jsp" id="uploadFrame"></iframe>
			--><iframe frameborder="0" name="uploadFrame" height="300" width="100%"
				scrolling="auto" src="lzm/upload.jsp" id="uploadFrame"></iframe>
		</div>
  </body>
</html>
